<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
<script type="text/javascript" src="scripts/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="scripts/jquery.cookie.js"></script>
<!-- <script type="text/javascript">
	var cookies=document.cookie.split(';');
	function getCK(mkey){
		for(var i=0;i<cookies.length;i++){
			var kv=cookies[i].split('=');
			if(kv[0].trim()==mkey){
				return kv[1].trim();
			}
		}
		return '';
	}
	window.onload=function(){
		var remember=getCK('remember');
		var phone=getCK('phone');
		var password=getCK('password');
		if(remember=='true'){
			var phoneInput=document.getElementById("phone");
			phoneInput.value=phone;
			var passwordInput=document.getElementById("password");
			passwordInput.value=password;
			var rememberInput=document.getElementById("remember");
			rememberInput.checked="checked";
		}
	}
</script> -->
</head>
<body style="background: #FFF68F">
<div style="width: 35%;font-size: 30px;margin: 15% auto 5% auto;padding: 1% 1% 1% 1%;text-align: center;">
	<h4 style="text-align: center;">欢迎来到萌宠乐园</h4>
		<form action="user_login" method="post">
			账号：<input style="width:80%;font-size: 25px;text-align:center;" id="phone" type="text" name="phone" placeholder="请输入账号" value="${u.phone}"><br>
			密码：<input style="width:80%;font-size: 25px;text-align:center;" id="password" type="password" name="password" placeholder="请输入密码" value="${u.password}"><br>
			<span><input type="checkbox" name="remember" id="remember" value="true" checked="checked"><a style="font-size:10px">记住密码</a></span>
			<span><input type="submit" value="登录" style="margin: auto auto auto 50px"></span>
			<span><a style="font-size: 15px" href="">忘记密码</a></span>
		</form>
</div>






</body>
</html>